package com.cm.figure.model.DataMap;

import com.cm.figure.model.Data.Meta;

import java.util.HashMap;
import java.util.Map;

/**
 * ClassName:DataMap
 * Package:com.cm.figure.model.DataMap
 * Description:
 *
 * @Date:2021/8/23 18:56
 * @com.chuangmei
 */
public class DataMap {
    // 数据
    private Map<String,Object> data = new HashMap<>();

    //状态
    private Meta meta;

    public DataMap() {
    }

    public DataMap(Map<String, Object> data, Meta meta) {
        this.data = data;
        this.meta = meta;
    }

    public Map<String, Object> getData() {
        return data;
    }

    public void setData(Map<String, Object> data) {
        this.data = data;
    }

    public Meta getMeta() {
        return meta;
    }

    public void setMeta(Meta meta) {
        this.meta = meta;
    }

    @Override
    public String toString() {
        return "DataMap{" +
                "data=" + data +
                ", meta=" + meta +
                '}';
    }
}
